import request from '@/utils/request'
export interface mtlInterFace {
  in: {}
  out: {}
}
export default {
  getMtlInfo(type: string) {
    return request.post<any, mtlInterFace>(`/mtl/ioQuery?type=${type}`)
  },

  // 出入库查询
  getMtlInOut() {
    return request.post<any, mtlInterFace>(`/mtl/inDetail`, {
      pageNum: '1',
      pageSize: '200'
    })
  },
  // 库存明细查询
  getMtlDetail() {
    return request.post<any, mtlInterFace>(`/mtl/stkDetail`, {
      pageNum: '1',
      pageSize: '200'
    })
  }
}
